package com.zhijian.warehouse.manage.util.cmmand;

/**
 *
 * @Version 1.0.1
 */
public class CommandResult {
    public static final int EXIT_VALUE_TIMEOUT = -1;
    private int exitValue;
    private String output;
    private String error;

    public int getExitValue() {
        return exitValue;
    }

    public void setExitValue(int exitValue) {
        this.exitValue = exitValue;
    }

    public String getOutput() {
        return output;
    }

    public void setOutput(String output) {
        this.output = output;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    @Override
    public String toString() {
        return "CommandResult [exitValue=" + exitValue + ", output=" + output + ", error=" + error + "]";
    }
}
